//
//  BRCustomView.h
//  Kexu
//
//  Created by IOS on 2023/7/19.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BRCustomView : UIView

- (void)setUI;

@property (nonatomic,assign) CGFloat borderWidth;
@property (nonatomic,assign) CGFloat cornerRadiu;
@property (nonatomic,strong) UIColor *borderColor;

@end
/// img+label
@interface BRImgLabelView : UIView

@property (nonatomic,strong) UIView *imgBg;
@property (nonatomic,strong) UIImageView *img;
@property (nonatomic,strong) QMUILabel *titleL;

@end

/// 计费规则和TC (BRRulesTCView)
@interface BRRulesView : UIView

@property (nonatomic,strong) QMUILabel *textPlan;
@property (nonatomic,strong) QMUILabel *textTC;

@end

/// 预付金TC
@interface BRRulesTCView : UIView

@property (nonatomic,strong) QMUILabel *titleL;
@property (nonatomic,strong) QMUILabel *textTC;

@end

/// 优惠券规则
@interface BRCouponsRuleView : UIStackView

@property (nonatomic,strong) BRRulesTCView *tcView;

@property (nonatomic,strong) BRRulesTCView *locationView;

//@property (nonatomic,strong) BRImgLabelView *miniPayView;


@end


/// item 上标题 固定下文方便上文换行处理
@interface BRMTitle2View : BRCustomView

@property (nonatomic,strong) NSString *title;
@property (nonatomic,strong) NSString *text;

@property (nonatomic,strong) UIColor *titleColor;
@property (nonatomic,strong) UIColor *textColor;
// 默认B20font 白色
@property (nonatomic,strong) QMUILabel *titleL;
// 默认M12font 白色
@property (nonatomic,strong) QMUILabel *textL;

@property (nonatomic,assign) BOOL hasAttTitle;

@property (nonatomic,strong) UIControl *titleBtn;
@property (nonatomic,copy) BRIDBlock titleBtnClick;

@end

@interface BRMCustomTitle2View : BRCustomView

@property (nonatomic,strong) BRMTitle2View *stackView;

- (void)br_updateMarginX:(CGFloat)x;

- (void)br_borderStyleDefault;
- (void)br_leftAlignment;


@end

/// img + title + >
@interface BRImgListView : UIView

@property (nonatomic,strong) UIView *line;

@property (nonatomic,strong) UIImageView *img;
@property (nonatomic,strong) UIImageView *imgRight;

@property (nonatomic,strong) QMUILabel *titleL;

@end

/**
 订单状态显示 包含2文本
 */
@interface BRStateView : UIView

@property (nonatomic,strong) NSString *title;
// 默认M14font 灰色
@property (nonatomic,strong) QMUILabel *titleL;

@property (nonatomic,strong) UIView *stateView;
@property (nonatomic,strong) UIColor *stateVColor;

- (void)br_status:(NSInteger)status;
/// 提现记录使用
- (void)br_statusByWithdrawalRecord:(NSInteger)status;

@end

@interface BRMStateV2View : UIView

@property (nonatomic,strong) NSString *title;
// 默认M14font 灰色
@property (nonatomic,strong) QMUILabel *titleL;

@property (nonatomic,strong) UIView *stateView;
@property (nonatomic,strong) UIView *stateBGView;
@property (nonatomic,strong) UIColor *stateVColor;

- (void)br_status:(NSInteger)status;

@end

@interface BRSlotsView : UIView

@property (nonatomic,strong) BRStackTitleTextView *stackTitles;

@end

@interface BROtpView : UIView

@property (nonatomic,strong) QMUILabel *codeL;



@end

@interface BRMoreBtn : UIView

@property (nonatomic,strong) QMUILabel *titleL;

@property (nonatomic,assign) CGFloat cornerRadius;

@property (nonatomic,assign) BOOL isOpen;

@end


NS_ASSUME_NONNULL_END
